This document explains everything concerning "*-r" files, the restrictions for the
odd pages.
* The restrictions are still being reworked to combine similar ones, so maybe there
are some (to be erased) that don't appear here

-Every Restriction file must have 32 lines from "restriction[0]" to "restriction[31]",
that represent the set of restrictions each odd page has as an outcome for the user
and/or the opponent, separated by commas.

-For the restrictions to be interpreted correctly, some combinations must be written
in a certain order, in order from first to last:

a) Broken weapon penalties (must go before the "Weapon broken" restriction)
b) Weapon status restrictions (weapon retrieved or lost, moves enabled or disabled,
   "Never use move")
c) Next move restrictions ("Can't use Red/Blue/etc", "Only use move")
d) "No restrictions" (every line must have either one of the "Next move
   restrictions" or "No restrictions", or else the character will have no more
   attacks for the next turn)

-Many of the restrictions have pre-conditions that must be fulfilled in order to
apply the restriction, for example, one restriction may be turn to a certain page
number only if you score. By combining these pre-conditions with the restrictions,
one could theoretically emulate the unlimited combinations that may appear in
the books, besides making the number of actual restrictions smaller and the
restrictions themselves easier to locate. They may be combined with one another.

*Note: You may add "Not" when the restriction applies whenever the next precondition
 isn't fulfilled. For example, "Not Score Only U" applies the restriction
 "only use Blue" if you haven't scored this turn.

-> *: critical restriction, only applies if you suffer critical damage. This
   precondition appears next to the restriction (like " *Never" ), instead of
   separated by a space (like "Page 29 only G")
-> Critical Hit: like the critical restriction, but in this case it only applies
   if it's the player dealing critical damage (not receiving it)
-> Extended Range: the restriction only applies if the player and opponent are
   at Extended Range
-> Trait "traitname": the restriction only applies if the opponent's character
   sheet contains the specified trait
-> Page XX(-YY-ZZ...): the restriction only applies if the enemy's character is
   in page XX (or YY, or ZZ)
-> Move XX(-YY-ZZ...): the restriction only applies if the player has used move
   number XX (or YY, or ZZ)
-> Moveagainst XX(-YY-ZZ...): the restriction only applies if the opponent has used
   move number XX (or YY, or ZZ)
-> Unmodified score X: the restriction only applies if the raw score is equal
   or greater than X
-> Unmodified less score X: the restriction only applies if the raw score is
   smaller than X
-> Modified score X: the restriction only applies if the score plus the modifier
   (plus extra bonuses) is greater or equal than X
-> Fear: the restriction only applies if the opponent doesn't have a "fearless"
   trait
-> Helmetless: the restriction only applies if the opponent doesn't have a helmet
-> Shieldless: the restriction only applies if the opponent doesn't have a shield
-> Flying: the restriction only applies if the player is flying
-> Wounded wing X: the restriction only applies if the player's wings have been
   wounded X times in this battle
-> Parry: the restriction only applies if the opponent is parrying (pages 45
   or 49)
-> Damaged: the restriction only applies if the player takes damage in this turn
-> Score: the restriction only applies if the opponent is in a score page
-> Previous score: the restriction only applies if the opponent was in a score
   page, and your book just told him to turn the page and keep the score
-> Height > X: the restriction only applies if the player's height is greater
   than X
-> Height < X: the restriction only applies if the player's height is lower
   than X
-> Wield weapon X: the restriction only applies if the player has weapon number
   X available, from 1 to 6 (6 is the always the shield)
-> Result param1 operation param2 comparation value: the restriction only applies
   if the result of the operation (+, -, /, *) between two parameters (body/magic/
   favor/special/tactics/luck points) is bigger, lower or equal than the value
-> State X: the restriction only applies if the player is in that particular state
-> Metal weapon: the restriction only applies if the opponent is wielding a metallic
   weapon
-> Weapon attack: the restriction only applies if the opponent attacked with a weapon
-> Scored upon: the restriction only applies if the player is in a score page in this turn
-> Available items: the restriction only applies if the player has at least one more
   item to use [Night Owl]
-> Turn X: the restriction only applies if the current turn is that one (used for
   1st turn weapon-loading) [Huit & Vingt, Captain Liliana]
-> Stroke X: the restriction only applies if the enemy has received X "special strikes"
   [Yoruichi & Sui-Feng]
-> Color X: the restrictions only applies if you've used the color X in this turn's
   attack [Lyla]
-> Enemy has move X: the restriction only applies if the enemy has that move number [Shanoa]
-> Armed enemy: the restriction only applies if the enemy has a weapon [Ougon's Siesta 410]

-The restrictions vary heavily from character to character, and some new
character might include a restriction that isn't covered here. The list of
current restrictions, by alphabetical order, is this:


Legend:
<color>: one of the 10 possible colors (see Readme Sheet for details)
<movename>: the name of the move. Note that for clarity's sake, it searches for
            both type and move name (and it must be a perfect match, i.e. just
            "Sword" won't find all the sword maneuvers), so you need to specify
            exactly what moves are affected
<restriction>: some restrictions may refer to another valid restriction, to
               activate it sometime in the future, like the "Timer X ..." one
<precondition>: some restrictions may stay activated until a precondition is
                achieved
[ A | B | C] : the restriction accepts either A, B or C
(move) : you need to add the word "move" if the restriction affects one move.
         For example, it would be "Bonusonly 1 U" to add 1 score to Blue
         attacks, but it would be "Bonusonly move 2 Swing High" to add 2 score
         to Swing High maneuvers
X,XX,Y,YY: denotes the number of digits a number accompanying the restriction
           must have

-(P): Tag Battle restriction, allows the player to switch to the other
   character (if the other character hasn't been defeated)

-(P*): Tag Battle restriction, allows the player to call the other character
   as an assist to use a Red, Blue or Black maneuver this turn, then revert
   back to the original character

-(P can't use [ <color> | move <movename> ]): Tag Battle restriction, if the
   player is switched that turn, they can't use that color/move
   -> Opposite: (P Only)

-(P only [ <color> | move <movename> ]): Tag Battle restriction, if the player
   is switched that turn, they can only use that color/move
   -> Opposite: (P can't use)

-Accumulated substract (move | weapon) -X [ all | <color> | <movename> ]: the player deals
   -X damage less when using that color/movement (or all attacks), cumulative

-Accumulated opponent substract (move | all | weapon) -X [ <color> | <movename> ]: the
   opponent deals -X damage less when using that color/movement (or all attacks, or
   only the attacks that use weapons), cumulative

-Add cumulative score X YY Z: due to a special attack, from now on, the player
   adds X score when the opponent's character is on page YY, up to +Z score max

-Addscore X YY: due to a special attack, from now on, the player adds X score
   when the opponent's character is on page YY

-Addenemyattack: your attack's modifier is increased by Z this turn, where
   Z is the enemy's own attack modifier [Spider-Girl]

-Adrenalin boost X: the player adds +X to their adrenalin (cumulative bonus
   for the attacks, in effect until another restriction ends it) [Lizardman, Djinn]
   -> Opposite: Adrenalin end

-Adrenalin hurt add: the player adds +1 to their adrenalin (cumulative bonus
   for the attacks, in effect until another restriction ends it) if they get
   hit this turn [Lizardman]
   -> Opposite: Adrenalin end

-Adrenalin end: the player resets their current adrenalin [Lizardman, Djinn]
   -> Opposite: Adrenalin hurt add/boost

-Airwound second turn XX (for flying characters): if the player has been hit
   two times while airborne, the player's character is sent to page XX

-All disarm: player makes opponent disarm all the equipped weapons [Sigui]

-Allowed [ <color> | move <movename> ]: the player can use that certain color/
   move (used normally to allow one specific move, after forbidding the group
   of moves including that one with the "Never" or "Can't use" restriction)
   -> Opposite: Never

-Announce color: the opponents selects one of his available colors to use, so
   that his next maneuver selected has to be of that color

-Bonus X: the player adds an extra +X damage to their attacks if they score
   next turn

-Bonusonly (move) X [ <color> | <movename> ]: the player adds an extra +X to
   their attacks if they score with a certain color or move next turn

-Bonusagainst X: the opponent adds an extra +X to their attacks if they score
   against the player next turn [Aldra]

-Boostforce X: adds + X to the Force's effect if the player uses it the next
   turn

-Boost health X: raises player's max BP [Melpha]

-Break helmet: breaks the opponent's helmet (might do more damage to the head
   from then on) [Tomoe]

-Cancel score move <movename>: from now on, when the player uses that move,
   all the score they'd get is cancelled [Annelotte]

-Can use [ <color> | move <movename> ]: the player can use that certain
   color/move next turn, in case a previous restriction said otherwise
   -> Opposite: Can't use

-Can't use [ <color> | move <movename> ]: the player can't use that certain
   color/move next turn
   -> Opposite: Only

-Change damage weapon X: for characters whose attacks' strength change depending
   if they're disarmed of one weapon, this sets the correct weapon modifier (1 for
   the first digit in the "X/Y" damage, 2 for the second)

-Change height +/-X: depending if the value is positive or negative, the player's
   height is raised or lowered, affecting the height advantages from then on

-Change mode: the player is asked if they want to switch to the other
   weapon(s) [Alice]

-Change points (opponent) [tactics|luck|favor|magic] +/-X: changes the amount of
   that stat for the player, or for the opponent if "opponent" is used (magic
   points not supported for now)

-Change special +/-X: the player gains/spends X points for its special counter,
   disables maneuvers that cost more if not available anymore [Gunslinger's bullets,
   Katja's soma]

-Change weapon: the player is asked if they want to switch to the other weapon(s)

-Choose bonus mounted X: asks the player if they want to get a +X bonus in their
   attacks next turn, or if they rather mount

-Choose exclusive option "nameoption1"|"nameoption2":restriction1/restriction2/etc|
   restriction3/restriction4/etc:
   asks the player to select between "nameoption1" and "nameoption2" (for example,
   "reload" or "get bonus"), and depending on the choice, the restriction applied
   will be 'restriction1' or the combination of 'restriction2' and 'restriction3'.
   Due to the diversity of these options, the CPU will always choose the first one
   first. Each option can only be chosen once.

-Choose hurt escape X: asks the player if they want to lose X BP, or if they want
   to escape the battle instantly [Airi]

-Choose life bonus X Y: asks the player if they want to raise their BP by X, or
   if they rather get a +Y bonus next turn [Melona]

-Choose life bonusonly X Y <color>: asks the player if they want to raise their
   BP by X, or if they rather get a +Y bonus next turn if they score with that
   color [Melona]

-Choose retrieve change mode: the player is asked if they want to retrieve a
   weapon or to switch to the other available weapon [Alice]

-Choose weapon gained: the player is asked what weapon is to be retrieved
   -> Opposite: Choose weapon lost

-Choose weapon lost X Y (Z ...) : the opponent is asked what weapon the player has
   to discard, between the ones indicated (for example, "choose weapon lost 1 2" will
   make the opponent choose between weapons 1 and 2) [Echidna, Retarius]
   -> Opposite: Choose weapon gained

-Chooseoption "nameoption1"|"nameoption2":restriction1/restriction2/etc|
   restriction3/restriction4/etc:
   asks the player to select between "nameoption1" and "nameoption2" (for example,
   "reload" or "get bonus"), and depending on the choice, the restriction applied
   will be 'restriction1' or the combination of 'restriction2' and 'restriction3'.
   Due to the diversity of these options, the CPU will always choose the first one

-Copy attack power X: the modifier of your attack becomes the modifier of the enemy's
   attack that has the move number X [Shanoa]

-Counter evil: the opponent loses the will to fight and surrenders instantly, if
   the opponent is an undead, they also get killed in the process

-Curse X Y: the opponent gets cursed for X damage (independent of the score) for
   Y turns. If Y = -1, the curse lasts for the entire battle

-Curseuntil extended X: the opponent gets cursed for X damage (independent of
   the score) until they move back to extended range [Zombie]

-Curseuntil score X: the opponent gets cursed for X damage (independent of
   the score) until they score on you [Spider-Girl]

-Dagger lodged: the player's second weapon becomes lodged in the opponent's
   shield and can't be retrieved, the available moves change accordingly

-Dagger retrieve: the player retrieves a dagger lying on the ground, the
   available moves change accordingly [Echidna]

-Damage (others) X: the opponent suffers X splash damage (damage independent
   of the score) (if "others" is used, damages everyone but the user)

-Dematerialize: the player's character recovers all their lost BP, and both
   characters resume the fight from page 57

-Disable move [ all | <movename> ]: forbids the player to use a restricted move,
   until it becomes enabled again
   -> Opposite: Enable move

-Disarm: the player gets the opponent's weapon dislodged (same effect as if
   opponent landed in page 27, no matter how they discard weapons)

-Discard fantasy cards: the opponent discards their Fantasy Cards (not supported
   yet)

-Doubledamage: the player scores double this turn

-Doubleforce: if the player uses the Force next turn, the effect is doubled

-Doublenextonly [ <color> | move <movename> ]: the player scores double
   damage if using that color/move next turn

-Doubleregain X: both of your body points sets recover X BP [Katja] 

-Doublescore [ <color> | move <movename> ] : the player scores double when
   using that certain color/movement from now on
   -> Opposite: End doublescore

-Doubleturn XX YY: sends the enemy's character to page XX, and the player's
   character to page YY

-Doubleweapon got: the player retrieves both of the weapons at once, the
   available moves change as specified in the Sheet file [Dizzy]
   -> Opposite: Drop weapon

-Double curse: from now on, all new curses that the player uses will damage
   double

-Drain X: the opponent takes X damage, the player gains X BP, doesn't go over
   the max BP

-Drainlife X: the opponent takes X damage, the player gains X BP, may go
   over max BP

-Drawchange weapon: the player draws a second weapon, and if they have more
   than three weapons at the ready, is asked to discard one [Echidna]

-Drop weapon (X [Y|Z|...]): the player drops weapon X, from 1 to 6 (weapon 6 is always
   the shield). In case of the player having multiple weapons, "Drop Weapon 2 1 3"
   indicates that it'll be weapon 2 first, weapon 1 if you have no weapon 2, or
   weapon 3 if you're wielding none of the other two. If it's just "Drop weapon",
   it refers to weapon 1
   -> Opposite: Retrieve weapon/Weapon gained

-Enable move [ all | <movename> ]: lets the player use a restricted move, until
   otherwise stated
   -> Opposite: Disable move

-End doublescore [ <color> | move <movename> ]: the player stops scoring
   double with that move
   -> Opposite: Doublescore

-Energy consume: the player spends as many energy points as the maneuver that
    was selected

-Energy lose X: the player spends X energy points

-Energy minimum X: if the player has less than X energy points, they become X

-Energy regain X: the player gains X energy points

-Equip weapon X Y: for characters that can switch the current weapon, X is the
   number of the weapon (1, 2, 3...) and Y is 0 for unequipping, 1 for equipping it

-Escape: the player surrenders and loses the battle

-Extra X: the player deals +X score in this attack

-Faint unless extended X: the opponent faints and loses the battle unless they
   retreat back to extended range within X turns

-Fire attack: marks the attack as a fire type, so that if the opponent has
   fire resistance, they suffer less damage

-Forbid maneuver XX: the opponent's maneuver that leads to the even page XX
   can't be used for the rest of the combat [Rogue]

-Forbid metallic attacks: if the opponent has an edged (metallic) weapon,
   they can't use armed attacks for the rest of the match

-Forbid until dodge [ <color> | move <movename> ]: until the player successfully
   dodges, that color/move can't be used

-Forcedamage X: deals X indirect damage to an opponent that uses Force, or
   half of it if the opponent doesn't use the Force (independent of the score)

-Forceregain X: the player recovers X BP points, plus any Force bonuses from
   a previous turn

-Force critical: forces the opponent to suffer their page's critical restriction
   (if available)

-Force extended: forces both the player and the opponent to use Extended Range
   attacks next turn

-Freeze: the opponent is frozen and loses the fight

-Heal X: the player's current BP or a partner's current BP (in Tag Battles)
   goes up by X, doesn't go over the max BP

-Hypnosis "restriction 1"[/"restriction 2"/"restriction 3"]: lets the player
   "store" some restrictions, to be used against the opponent only once, from that
   moment on until the end of the fight [Veltigg]

-Ignore damage: the opponent doesn't get damaged even if they're on a score page

-Ignore mod: the player's attack modifier becomes zero this turn

-Ignore self damage: the player doesn't get damaged even if you're on a score page

-Instant change height +/-X: depending if the value is positive or negative, the
   player's height is raised or lowered, affecting the height advantages in that
   same turn [Nanael, Annelotte]

-Keep score: the opponent keeps the damage from the current attack, even if
   the opponent is made to turn to another page

-Kill (self): the opponent (or the player, if it's "self") is destroyed (his BP goes
   down to -5), losing all the Exp he might have had

-Knock out (self): the opponent (or the player, if it's "self") loses the fight
   automatically

-Life X: the player's current BP goes up by X, may go over max BP

-Limit until damaged [ <color> | move <movename> ]: the opponent can only use
   that certain color/movement until they are damaged

-Limit until scored [ <color> | move <movename> ]: the opponent can only use
   that certain color/movement until they are scored upon

-Limit until not scored [ <color> | move <movename> ]: the opponent can only
   use that certain color/movement until they are not scored upon

-Loaded: the player gets their guns loaded, enables moves that were disabled
   because of lack of bullets [Alice]
   -> Opposite: Reload

-Lose X: the player hurts themselves and loses X BP
   -> Opposite: Regain

-Lower health X: lowers opponent's max BP, if the opponent's current BP is
   greater than their max BP, it becomes the same as the new max BP [Melpha]

-Mount bonus X: adds +X extra score this turn if the character is mounted

-Never [ <color> | move <movename> ]: the player can't use that certain color/
   move for the remainder of the battle
   -> Opposite: Allowed

-No restrictions: the player can choose any of the available maneuvers with
   their current weapons, implies the player is at close range

-Not change mode: the player is forbidden from changing mode the next turn

-Only [ <color> | move <movename> | page <pagenumber>] : the player can only use
   that certain color/move/page next turn
   -> Opposite: Can't use

-Onlyopponent (move/page) X [ <color> | <movename> | <page>] : the opponent can only use
   that certain color/movement for the next X turns

-Onlyopponent page X YY: the opponent can only use the maneuver that leads to
   page YY for the next X turns

-onlyopponent-until damaged (move) [ <color> | <movename> ]: the opponent can
   only use that certain color/movement until they're damaged

-onlyopponent-until scored (move) [ <color> | <movename> ]: the opponent can
   only use that certain color/movement until they're scored upon

-Onlydouble [ <color> | move <movename> ] : the player can only use that certain
   color/move for the next 2 turns

-Opponent weapon substract X: one of the current opponent's weapon becomes
   damaged, and they deal -X damage when using it from now on [Melona]

-Page turn [all | self] XX: sends the enemy's character (or your character, if "self"
   is used) to page XX; if "all" is used, both players go to that page

-Petrification X: if the opponent's max BP minus their current BP is greater or
   equal than X, the opponent is petrified and loses the fight [Aldra]

-Pick item: lets a player take an item from the opponent (not supported)

-Random X/Y <restriction>: the restriction has an effect if an internal dice of
   Y sides rolls on X or lower (for example, "Random 4/6 Lose 1" will make you
   lose 1 BP if a 6-sided die rolls 4 or lower)

-Regain (all) X: the player's current BP goes up by X, doesn't go over the max BP.
   If "all" is used, both players recover X BP
   -> Opposite: Lose

-Reload: depending on the move used, the player uses up 1 or 2 bullets, disables
   moves if they run out of bullets [Alice]
   -> Opposite: Loaded

-Repeat (self) forever <restriction>: the specified restriction occurs for the
   opponent (or for the player, if "self" is used) until the end of the game

-Repeat (self) <restriction> until <precondition>: the specified restriction occurs
   for the opponent (or for the player, if "self" is used) until the precondition is
   achieved

-Replay previous turn: the outcome of the turn previous to the present one is
   repeated

-Restrict moves: the player can't use any of the moves previously allowed this
   turn (good for Hypnosis restrictions, must be followed by restrictions
   allowing some moves)
   -> Opposite: No restrictions

-Retrieve item: you can pick up items (not supported)

-Retrieve lodged weapon: if the opponent has a shield and one of your weapons
   is lodged in it, you get it back

-Retrieve weapon X: the player retrieves weapon X, from 1 to 6 (weapon 6 is
   always the shield). In case of the player having multiple weapons,
   "Retrieve Weapon 2 1 3" indicates that it'll be the weapon 2 first, weapon 1
   if you already have weapon 2, or the weapon 3 if you're wielding the other two.
   If it's just "Retrieve weapon", it refers to weapon 1
   -> Opposite: Weapon drop

-Reveal gimmick: Reveal one of your gimmick cards

-Second weapon dropped: the players's secondary weapon is dislodged, the available
   moves change as specified in the Sheet file
   -> Opposite: Weapon gained

-Select color: asks the player to select one of the opponent's colors so that
   they can only use an attack of that color for the next turn [Luna Luna]

-Selfdamage X: the player takes extra +X damage this turn

-Shield broken: the player's shield becomes broken

-Special strike: increments the opponent's "special strikes" counter (usually
   combined with a restriction to check that) [Yoruichi & Sui-Feng]

-Substract weapon (move) -X [ all | <color> | <movename> ]: the player deals from
   now on -X damage when using that color/movement (or all attacks)

-Temporary damage X: the opponent loses X points only during this turn (that
   is, if they have X BP or less, they are defeated; if not, nothing happens)

-Temporary lose X: the player loses X points only during this turn (that
   is, if you have X BP or less, you are defeated; if not, nothing happens) [Cham Cham]

-Timer (self) X <restriction>: after X turns have passed, the specified restriction will
   activate for the opponent (or the player, if "self" is used)

-Tripledamage: the player scores triple this turn [Hulk]

-Usedweapon lost (for characters with more than one weapon): the player drops the
   weapon currently in use (or used last, if they're using two at the same time)

-Use scroll: lets a player use a magic scroll (not supported)

-Use spell: lets a player use a spell of the color that character is able to
   (not supported)

-Venom lose X: player loses X venom points [Manticore]

-Weapon broken: the player's main weapon becomes broken

-Weapon gained (for characters with two weapons): the player retrieves one of the
   weapons (usually, the strongest first)
   -> Opposite: Weapon lost (dual-wield) / Drop weapon

-Weapon lost (for dual-wielding characters): the player loses one of the weapons
   (usually, the weakest first)
   -> Opposite: Weapon gained

-Weapon turn XX YY: sends the enemy's character to page XX and attacks them with
   the player's attack number YY in the character sheet [Irma]

-Wing wound: the player's wings takes one hit (further restrictions might
   disable flying when they've taken a certain number of hits) [Nanael]